/*
 *	Copyright © 2013 Changsha Shishuo Network Technology Co., Ltd. All rights reserved.
 *	长沙市师说网络科技有限公司 版权所有
 *	http://www.shishuo.com
 */

package com.hlingsoft.cms.dao;

import com.hlingsoft.cms.entity.Type;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.*;



@Repository
public interface TypeDao {



	/**
	 * 添加类型
	 * 
	 * @return Integer
	 */
	public long addType(Type type);

	/**
	 * 根据id查询
	 * @param typeId
	 * @return
	 */
	public Type getTypeById(@Param("typeId")long typeId);



	public List<Type> getTypeList();

}
